<?php
/**
 * ExtGridBooleanColumn class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtGridBooleanColumn extends ExtGridColumn
{
    /**
     * Gets the value of ExtJS falseText property
     * @return String 
     */
    public function getFalseText()
    {
    	return $this->getConfig("falsetext");
    }

    /**
     * Sets the value of ExtJS falseText property
     * @param String $value 
     */
    public function setFalseText($value)
    {
    	$this->setConfig("falsetext",$value);
    }

    /**
     * Gets the value of ExtJS trueText property
     * @return String 
     */
    public function getTrueText()
    {
    	return $this->getConfig("truetext");
    }

    /**
     * Sets the value of ExtJS trueText property
     * @param String $value 
     */
    public function setTrueText($value)
    {
    	$this->setConfig("truetext",$value);
    }

    /**
     * Gets the value of ExtJS undefinedText property
     * @return String 
     */
    public function getUndefinedText()
    {
    	return $this->getConfig("undefinedtext");
    }

    /**
     * Sets the value of ExtJS undefinedText property
     * @param String $value 
     */
    public function setUndefinedText($value)
    {
    	$this->setConfig("undefinedtext",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'falsetext' => 'falseText',
            'truetext' => 'trueText',
            'undefinedtext' => 'undefinedText'
        ));



        $this->setXType('booleancolumn');
        $this->setXClass('Ext.grid.BooleanColumn');
    }    
}
?>